<style type="text/css">
#main table {
	border-top:1px #666666 solid;
	border-right:1px #666666 solid;
	background:url(../images/line_bg_list.gif) left top repeat;
}
#main table tr:hover td { background: #FFFB82; cursor:pointer; color:#000000;}/*隔行换色鼠标经过效果*/
#main td {
	border-left:1px #666666 solid;
	border-bottom:1px #666666 solid;
	height:29px;
	overflow:hidden;
}
</style>
<table width="90%" style="margin-top:20px;" border="0" align="center" cellpadding="10" cellspacing="0">
	<tr>
		<td>
		<div id="main">
		<form>
			<h3>已完成评分的项目</h3>
			<fieldset>
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
				  <tr style="color:#FFFFFF">
					<td width="10%" align="center" valign="middle" bgcolor="#333333"><strong>编号</strong></td>
				    <td width="20%" align="center" valign="middle" bgcolor="#333333"><strong>项目名称</strong></td>
				    <td width="20%" align="center" valign="middle" bgcolor="#333333"><strong>开始时间</strong></td>
				    <td width="20%" align="center" valign="middle" bgcolor="#333333"><strong>完成时间</strong></td>
				    <td width="20%" align="center" valign="middle" bgcolor="#333333"><strong>操作</strong></td>
				    <td width="10%" align="center" valign="middle" bgcolor="#333333"><strong>状态</strong></td>
				  </tr>
				  #foreach($entity in $userProjectList)
				  <tr>
                    <td align="center" valign="middle">$entity.id</td>
				    <td align="center" valign="middle">
				    <a href="/project/showProjectInfo.jsp?id=$!entity.project.id">$entity.project.name</a>
				    </td>
				    <td align="center" valign="middle">$DateUtil.formatDate($entity.project.startTime,"yyyy-MM-dd HH:mm:ss")</td>
				    <td align="center" valign="middle">$DateUtil.formatDate($entity.completetime,"yyyy-MM-dd HH:mm:ss")</td>
				    <td align="center" valign="middle">
				    #if($DateUtil.distance($!now,$entity.project.startTime)=="true")
															#if($entity.project.status==0)
														    	项目创建中
														    #elseif($entity.status!=2)
														    <a href="/judge/scoreProjectByPerson.jsp?projectId=$!entity.project.id&userId=$!user.id"><font color="green">评分</font></a>
														    #else
														    <a href="/judge/scoreProjectByPersonFinish.jsp?projectId=$!entity.project.id&userId=$!user.id"><font color="red">查看</font></a>
														    #end
													   #else
														    评分日期未到
													   #end
				    </td>
			        <td align="center" valign="middle">
			        #if($DateUtil.distance($!now,$entity.project.startTime)=="true")#if($entity.status==0)<font color="#0000FF">未评分</font>#elseif($entity.status==1)<font color="green">评分中</font>#else<font color="red">已评完</font>#end#else评分日期未到#end
			        </td>
				  </tr>
				  #end
				  <tr>
				    <td height="30" colspan="6" valign="middle">　　
				    #parse("/view/pub/pager.html")
				     </td>
			      </tr>
				</table>
			</fieldset>
		</form>
		</div>
		</td>
	</tr>
</table>